<template>
	<view class="duilianpt" >
		<view  v-for="(item,inx) in dataList.meansList" :key="inx">
			
			
			<u-row justify="space-between" gutter="10">
				<u-col span="12">
					<view class="text-center">
						<text class="green1-text">{{item.issue}}期：{{dataList.remarks}}</text>
						<text>
							开
							<text v-if="item.is_true > 0 && item.drawp" >{{item.drawp}}</text>
							<text v-else  class="red-text">{{item.drawp || '??'}}</text>
							<text class="green1-text" v-if="item.is_true == 1">中</text>
							<text class="black-text" v-else-if="item.is_true == 2">错</text>
						</text>
					</view>
					<view class="text-container">
						<text class="text-item black-text" v-for="(vl,vk) in item.means" :key="vk">
							<text class="red-text" :class="{'draw-active' : vl.isTrue}">{{vl.value}}:</text>
							主(
							<text class="red-text">
								<text class="mg-right5" :class="{'draw-active' : fl.isTrue, 'blue-text':(fl.color == 'blue'), 'green1-text':(fl.color == 'green'), 'red-text':(fl.color == 'red')}"  v-for="(fl,fk) in vl.code" :key="fk"> {{fl.value}}</text>
								</text>
							)
						</text>
						
					</view>
				</u-col>
			</u-row>
		</view>
	</view>
</template>

<script>
export default {
	name: 'Shi2MaZhongTe',
	props: {
	    // 定义一个名为dataList的prop来接收数组数据
	    dataList: {
	      type: [Object,Array],
	      default: () => {
			  return {};
		  },
	    },
		isShowAll :{
			type:[Boolean],
			default : () =>{
				return false;
			}
		},
	},
	data(){
		return {
		}
	},
	mounted() {
		
	},
	methods: {
	}
};
</script>

<style lang="scss" scoped>
@import "@/static/css/common.css";
</style>
